/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-07-19
 * Time: 18:09
 */
public class Main_5 {
    public static void main(String[] args) {
        //字符串转数组
        String s = "hello";
        char[] ch = s.toCharArray();
        System.out.println(ch);

        System.out.println("==========");

        //数组转字符串
        String s1 = new String(ch);
        System.out.println(s1);
    }
}
